#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
struct date {
	int year;
	int month;
	int day;
};
struct student {
	int age;
	char name[10];
	struct date brithday;
} student1;
int main()
{
	struct date d1 = {
		2005,01,05
	};
	student1 = {
		19,"sunhui",2005,01,05
	};
	struct student* p;
	p = &student1;
	struct date* s;
	s = &d1 ;
	printf("%d\n", student1.brithday.year);
	printf("%d\n", student1.brithday.month);
	printf("%d\n", student1.brithday.day);
	printf("%s\n", student1.name);
	printf("%d\n", student1.age );
	printf("%d\n", p->age);
	printf("%d", s->month);

    return 0;
}